﻿using CrawlerApp.Core.Entities.BookAggregate;
using System;
using System.Collections.Generic;

namespace CrawlerApp.Core.Entities
{
    public class Category : BaseEntity
    {
        public string Name { get; private set; }
        public string Href { get; private set; }

        public Category(string name, string href)
        {
            Name = name ?? throw new ArgumentNullException(nameof(name));
            Href = href ?? throw new ArgumentNullException(nameof(href));
        }
    }
}
